﻿namespace LeadMaster.Models
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.ComponentModel.DataAnnotations;

    public class Enquiries
    {
        public int EnquiryID { get; set; }

        public Guid UserID { get; set; }

        [Display(Name="Company")]
        public int CompanyID { get; set; }

        [Display(Name = "Contact")]
        public int ContactID { get; set; }

        [Display(Name = "Source")]
        public string EnquirySource { get; set; }

        [Required]
        [Display(Name = "Date")]
        public DateTime EnquiryDate { get; set; }

        [Required]
        [Display(Name = "Type")]
        public int EnquiryTypeID { get; set; }

        [Display(Name = "Receptive")]
        public int ReceptiveID { get; set; }

        [Required]
        public string Notes { get; set; }

        [Display(Name = "Diary")]
        public int DiaryID { get; set; }

        public int LeadID { get; set; }

        public virtual Contacts Contact { get; set; }

        public virtual Companies Company { get; set; }

        public virtual Users User { get; set; }

        public virtual Leads Lead { get; set; }
    }
}